package cn.itcast.dao.company;


import cn.itcast.domain.company.Company;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompanyDao {
    List<Company> findAll();

    void save(Company company);

    Company findById(String id);

    void update(Company company);

    void delete(String id);

    long findCount();

    List findPage(@Param("beg")int beg, @Param("end") int end);
}
